home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / strwid.z / strwid
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssttttrrrrwwwwiiiidddd((((3333GGGG))))                                                          ssssttttrrrrwwwwiiiidddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssttttrrrrwwwwiiiidddd,,,, llllssssttttwwwwiiiidddd - returns the width of the specified text string
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn ssssttttrrrrwwwwiiiidddd((((ssssttttrrrr,,,, lllleeeennnnggggtttthhhh))))
  13.      cccchhhhaaaarrrraaaacccctttteeeerrrr****((((****)))) ssssttttrrrr
  14.      iiiinnnntttteeeeggggeeeerrrr****4444 lllleeeennnnggggtttthhhh
  15.  
  16.      iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn llllssssttttwwwwiiiidddd((((ttttyyyyppppeeee,,,, ssssttttrrrr,,,, lllleeeennnnggggtttthhhh))))
  17.      iiiinnnntttteeeeggggeeeerrrr****4444 ttttyyyyppppeeee
  18.      cccchhhhaaaarrrraaaacccctttteeeerrrr****((((****)))) ssssttttrrrr
  19.      iiiinnnntttteeeeggggeeeerrrr****4444 lllleeeennnnggggtttthhhh
  20.  
  21. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  22.      _t_y_p_e      expects the type of this string.  See the man page for cccchhhhaaaarrrrssssttttrrrr
  23.                for a description of the type argument.
  24.  
  25.      _s_t_r       expects the string to be measured.
  26.  
  27.      _l_e_n_g_t_h    expects the number of characters in the string that is to be
  28.                measured.
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      ssssttttrrrrwwwwiiiidddd and llllssssttttwwwwiiiidddd return the width of a text string in pixels, using the
  32.      character spacing parameters of the current raster font.  These functions
  33.      are useful when doing a simple mapping from screen space to world space.
  34.  
  35.      Undefined characters have zero width.
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      charst, deflfo, defras, getlwi, lchstr, mapw, mapw2
  39.  
  40. NNNNOOOOTTTTEEEE
  41.      These routines are available only in immediate mode.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.